package com.ivr.cm.vo;

import java.io.Serializable;
import java.util.Date;

/**
 * IVR计费数据VO
 * @author liugeng
 * @date 2015-12-15
 * @version 1.0
 */
public class LimitFeeVo implements Serializable {
	
	private static final long serialVersionUID = 2851606319002143560L;
	private int id;				//主键ID
	private String mobile;		//主叫号码
	private String province;	//省份
	private String city;		//城市
	private String sp_code;		//业务号码短号码
	private int fee_minute;		//计费分钟数
	private double fee_money;	//计费金额（分）
	private String fee_day;		//计费日
	private String fee_month;	//计费月
	private String time_begin;	//计费开始时间
	private String time_end;	//计费结束时间
	private String linkId;		//唯一标识
	private Date add_date;	//创建时间
	
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getMobile() {
		return mobile;
	}
	public void setMobile(String mobile) {
		this.mobile = mobile;
	}
	public String getProvince() {
		return province;
	}
	public void setProvince(String province) {
		this.province = province;
	}
	public String getCity() {
		return city;
	}
	public void setCity(String city) {
		this.city = city;
	}
	public String getSp_code() {
		return sp_code;
	}
	public void setSp_code(String sp_code) {
		this.sp_code = sp_code;
	}
	public int getFee_minute() {
		return fee_minute;
	}
	public void setFee_minute(int fee_minute) {
		this.fee_minute = fee_minute;
	}
	public double getFee_money() {
		return fee_money;
	}
	public void setFee_money(double fee_money) {
		this.fee_money = fee_money;
	}
	public String getFee_day() {
		return fee_day;
	}
	public void setFee_day(String fee_day) {
		this.fee_day = fee_day;
	}
	public String getFee_month() {
		return fee_month;
	}
	public void setFee_month(String fee_month) {
		this.fee_month = fee_month;
	}
	public String getTime_begin() {
		return time_begin;
	}
	public void setTime_begin(String time_begin) {
		this.time_begin = time_begin;
	}
	public String getTime_end() {
		return time_end;
	}
	public void setTime_end(String time_end) {
		this.time_end = time_end;
	}
	public String getLinkId() {
		return linkId;
	}
	public void setLinkId(String linkId) {
		this.linkId = linkId;
	}
	public Date getAdd_date() {
		return add_date;
	}
	public void setAdd_date(Date add_date) {
		this.add_date = add_date;
	}

	@Override
	public String toString() {
		return String.format("LimitFeeVo [mobile=%s sp_code=%s fee_minute=%d fee_money=%f fee_day=%s fee_month=%s time_begin=%s time_end=%s add_date=%tF %tT]", mobile,sp_code,fee_minute, fee_money, fee_day,fee_month,time_begin,time_end,add_date == null ? new Date() : add_date,add_date == null ? new Date() : add_date);
	}
}
